import { EntitySchema } from '@mikro-orm/core';

export class ImsYzdKpDailyLike {
  id!: number;
  dId!: number;
  pId!: number;
  userId!: number;
  time!: string;
  uniacid!: number;
}

export const ImsYzdKpDailyLikeSchema = new EntitySchema({
  class: ImsYzdKpDailyLike,
  properties: {
    id: { primary: true, type: 'number' },
    dId: { type: 'number' },
    pId: { type: 'number' },
    userId: { type: 'number' },
    time: { type: 'string', length: 255 },
    uniacid: { type: 'number' },
  },
});
